Download Files
AutomatR.FTP.DownloadFiles
The "Download Files" activity in AutomatR is part of the FTP activities package, allowing automation processes to download specified files from an FTP server. This activity streamlines the process of retrieving files from the FTP server, enhancing the efficiency of automation workflows.
Properties
Name | Description |
---|---|
Input | |
User Name | Provides a valid username to establish a connection with the FTP server. String variables containing the username. |
Password | Provides the password for the username to establish a connection with the FTP server. String variables containing the password. |
Host | Provides a valid host credential to establish a connection with the FTP server. String variables containing the host information. |
Server Path | Provides the server path for the file you wish to download. For example, "/ServerFile/downloadfile.doc". String variables containing the server path. |
Destination Path | Browse or specify the full path on your local system where you would like to store the downloaded file from the FTP server. For example, "D:\FTP\DownloadFile". String variables containing the local destination path. |
Overwrite | If checked, it enables you to download a file with the same name as the one in the destination location. Boolean variables to determine whether to overwrite existing files. |
Miscellaneous | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Download Files" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. For example, if the delay is 1000 milliseconds or 1 sec, set it to 1. |
How to use:
- Drag and drop the "Download Files" activity onto the workflow.
- Configure the properties by specifying the FTP server credentials, server path for the file to download, local destination path, and optional delay.
- Optionally, configure the overwrite property based on whether you want to overwrite existing files.
- Execute the workflow to download the specified file from the FTP server to the local destination.
Example: Consider an example where the "Download Files" activity is used to download a file named "downloadfile.doc" from the FTP server:
Download Files:
Delay: 0
Password: "your_password"
User Name: "your_username"
Host: "ftp.yourftpserver.com"
Server Path: "/ServerFile/downloadfile.doc"
Destination Path: "D:\\FTP\\DownloadFile"
Overwrite: true
In this example, the activity downloads the "downloadfile.doc" file from the specified server path on the FTP server to the local destination path "D:\FTP\DownloadFile". The overwrite property is set to true, allowing the activity to overwrite the file if it already exists in the destination path.